package cn.avalon.user.domain;

import cn.avalon.basic.domain.BaseDomain;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @description: 客户实体类
 * @author: Avalon
 * @date: 2022年08月24日 ： 15:55
 * @version: ver1.0
 * @email 709785494@qq.com
 */
@Data
public class User extends BaseDomain {

    private String username;

    private String phone;

    private String email;

    private String salt;

    private String password;

    private Integer state;

    private Integer age;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createtime = new Date();

    private String headImg;

    private Long logininfo_id;
}
